<HTML>
<HEAD>
<TITLE>HELP - inheritance_classes.cpp</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../../common/";
  var relPathToHelpDir = "../../../common/help/";
</script>
<script type="text/javascript" src="../../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../../search";
  Body1();
</script>
<div class="headerPage">HELP - inheritance_classes.cpp</div>
<div class="path"><a href="#" OnMouseOver="link('','../../../index',this)" class="pathLink">Help</A><img src="../../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','../ExampleCode0',this)" class="pathLink">Example Code</A><img src="../../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','Inheritance0',this)" class="pathLink">Inheritance</A><img src="../../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">inheritance_classes.cpp</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_file','inheritance_classes_cpp0','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabInActiveGrayout"><span class="tabLinkGrayout">Overview</span></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_file','inheritance_classes_cpp0','_includedfiles',this)" class="tabLinkInActive">Included files</a></span>
<span class="tabInActiveGrayout"><span class="tabLinkGrayout">Included by</span></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_file','inheritance_classes_cpp0','_source',this)" class="tabLinkActive">Source</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<pre class="codeExamples">
#include "<a href="#" onMouseOver="link('_file','inheritance_classes_h0',this); overLibDiagram();return overlib('<strong>Files that includes this file:</strong><BR>inheritance_classes.cpp<BR>',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">inheritance_classes.h</a>"

// -----------------
// --- BaseClass ---
// -----------------

/** 
Shows how documentation are inherited down hierarchy. This function
is overridden i all the classes in the hierarchy, but the documentation 
is only written here in the base class. The other versions of this function 
are not documented. 
\note This function (as well as Override) shows how overridden functions are 
      displayed in DoxyS output.
\return Some integer is returned. */
int <a href="#" onMouseOver="link('_member','InheritDocFromBaseClass150184104',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual int&nbsp;&nbsp;InheritDocFromBaseClass&nbsp;&nbsp;(int iInt)',CAPTION,'<strong>Brief description</strong><BR>Shows how documentation are inherited down hierarchy.');" onMouseOut="return nd();">BaseClass::InheritDocFromBaseClass</a>(int iInt   ///&lt; Parameter iInt description.
                                              )
{
  cout&lt;&lt;"BaseClass::InheritDocFromBaseClass(int iInt)";
  return 0;
}

/** 
Shows how overridden functions are displayed (BaseClass). This function is overridden in 
all the classes in the hierarchy. This function (as well as Override) shows 
how overridden functions are  displayed in DoxyS output.*/
<a href="#" onMouseOver="link('_member','Override217481216',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual void&nbsp;&nbsp;Override&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows how overridden functions are displayed (BaseClass).');" onMouseOut="return nd();">BaseClass::Override</a>()
{
  cout&lt;&lt;"BaseClass::Override()";
}

/// "Show all inherited" demo from BaseClass.
/// Demonstrates how the #Show all inherited# icon can be used to show
/// all public and protected functions that a class has including the ones 
/// inherited from other classes in the hierarchy. 
<a href="#" onMouseOver="link('_member','AllInheritedBaseClass217481216',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;AllInheritedBaseClass&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>\'Show all inherited\' demo from BaseClass.');" onMouseOut="return nd();">BaseClass::AllInheritedBaseClass</a>()
{
  cout&lt;&lt;"BaseClass::AllInheritedBaseClass()";
}


// ----------------------
// --- DerivedLevel_1 ---
// ----------------------

int <a href="#" onMouseOver="link('_member','InheritDocFromBaseClass2402645860',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual int&nbsp;&nbsp;InheritDocFromBaseClass&nbsp;&nbsp;(int iInt)',CAPTION,'<strong>Brief description</strong><BR>Shows how documentation are inherited down hierarchy.');" onMouseOut="return nd();">DerivedLevel_1::InheritDocFromBaseClass</a>(int iInt)
{
  cout&lt;&lt;"DerivedLevel_1::InheritDocFromBaseClass(int iInt)";
  return 1;
}

/** 
Shows how overridden functions are displayed (DerivedLevel_1). This function 
overrides the one from BaseClass ( ie. BaseClass::Override ).*/
<a href="#" onMouseOver="link('_member','Override2413131162',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual void&nbsp;&nbsp;Override&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows how overridden functions are displayed (DerivedLevel_1).');" onMouseOut="return nd();">DerivedLevel_1::Override</a>()
{
  cout&lt;&lt;"DerivedLevel_1::Override()";
}

/// "Show all inherited" demo from DerivedLevel_1.
/// Demonstrates how the #Show all inherited# icon can be used to show
/// all public and protected functions that a class has including the ones 
/// inherited from other classes in the hierarchy. 
<a href="#" onMouseOver="link('_member','AllInheritedDerivedLevel_12413131162',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;AllInheritedDerivedLevel_1&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>\'Show all inherited\' demo from DerivedLevel_1.');" onMouseOut="return nd();">DerivedLevel_1::AllInheritedDerivedLevel_1</a>()
{
  cout&lt;&lt;"DerivedLevel_1::AllInheritedDerivedLevel_1()";
}



// ----------------------
// --- DerivedLevel_2 ---
// ----------------------

int <a href="#" onMouseOver="link('_member','InheritDocFromBaseClass2402621284',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual int&nbsp;&nbsp;InheritDocFromBaseClass&nbsp;&nbsp;(int iInt)',CAPTION,'<strong>Brief description</strong><BR>Shows how documentation are inherited down hierarchy.');" onMouseOut="return nd();">DerivedLevel_2::InheritDocFromBaseClass</a>(int iInt)
{
  cout&lt;&lt;"DerivedLevel_2::InheritDocFromBaseClass(int iInt)";
  return 2;
}

/** 
Shows how overridden functions are displayed (DerivedLevel_2). This function 
overrides the one from DerivedLevel_1 ( ie. DerivedLevel_1::Override() ).*/
<a href="#" onMouseOver="link('_member','Override2413106586',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual void&nbsp;&nbsp;Override&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows how overridden functions are displayed (DerivedLevel_2).');" onMouseOut="return nd();">DerivedLevel_2::Override</a>()
{
  cout&lt;&lt;"DerivedLevel_2::Override()";
}

/// "Show all inherited" demo from DerivedLevel_2.
/// Demonstrates how the #Show all inherited# icon can be used to show
/// all public and protected functions that a class has including the ones 
/// inherited from other classes in the hierarchy. 
<a href="#" onMouseOver="link('_member','AllInheritedDerivedLevel_22413106586',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;AllInheritedDerivedLevel_2&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>\'Show all inherited\' demo from DerivedLevel_2.');" onMouseOut="return nd();">DerivedLevel_2::AllInheritedDerivedLevel_2</a>()
{
  cout&lt;&lt;"DerivedLevel_2::AllInheritedDerivedLevel_2()";
}


// ---------------
// --- Final_1 ---
// ---------------

int <a href="#" onMouseOver="link('_member','InheritDocFromBaseClass37946307',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual int&nbsp;&nbsp;InheritDocFromBaseClass&nbsp;&nbsp;(int iInt)',CAPTION,'<strong>Brief description</strong><BR>Shows how documentation are inherited down hierarchy.');" onMouseOut="return nd();">Final_1::InheritDocFromBaseClass</a>(int iInt)
{
  cout&lt;&lt;"Final_1::InheritDocFromBaseClass(int iInt)";
  return 3;
}

/** 
Shows how overridden functions are displayed (Final_1). This function 
overrides the one from DerivedLevel_2 ( ie. DerivedLevel_2::Override() ).*/
<a href="#" onMouseOver="link('_member','Override84139985',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual void&nbsp;&nbsp;Override&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows how overridden functions are displayed (Final_1).');" onMouseOut="return nd();">Final_1::Override</a>()
{
  cout&lt;&lt;"Final_1::Override()";
}

/// "Show all inherited" demo from Final_1.
/// Demonstrates how the #Show all inherited# icon can be used to show
/// all public and protected functions that a class has including the ones 
/// inherited from other classes in the hierarchy. 
<a href="#" onMouseOver="link('_member','AllInheritedFinal_184139985',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;AllInheritedFinal_1&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>\'Show all inherited\' demo from Final_1.');" onMouseOut="return nd();">Final_1::AllInheritedFinal_1</a>()
{
  cout&lt;&lt;"Final_1::AllInheritedFinal_1()";
}


// ---------------
// --- Final_2 ---
// ---------------

int <a href="#" onMouseOver="link('_member','InheritDocFromBaseClass37958595',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual int&nbsp;&nbsp;InheritDocFromBaseClass&nbsp;&nbsp;(int iInt)',CAPTION,'<strong>Brief description</strong><BR>Shows how documentation are inherited down hierarchy.');" onMouseOut="return nd();">Final_2::InheritDocFromBaseClass</a>(int iInt)
{
  cout&lt;&lt;"Final_2::InheritDocFromBaseClass(int iInt)";
  return 4;
}

/** 
Shows how overridden functions are displayed (Final_2). This function 
overrides the one from DerivedLevel_2 ( ie. DerivedLevel_2::Override() ).*/
<a href="#" onMouseOver="link('_member','Override84144081',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>virtual void&nbsp;&nbsp;Override&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Shows how overridden functions are displayed (Final_2).');" onMouseOut="return nd();">Final_2::Override</a>()
{
  cout&lt;&lt;"Final_2::Override()";
}

/// "Show all inherited" demo from Final_2.
/// Demonstrates how the #Show all inherited# icon can be used to show
/// all public and protected functions that a class has including the ones 
/// inherited from other classes in the hierarchy. 
<a href="#" onMouseOver="link('_member','AllInheritedFinal_284144081',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;AllInheritedFinal_2&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>\'Show all inherited\' demo from Final_2.');" onMouseOut="return nd();">Final_2::AllInheritedFinal_2</a>()
{
  cout&lt;&lt;"Final_2::AllInheritedFinal_2()";
}



#endif
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_file','_source');
</script>
